<template>
  <svg class="zeus-icon" @click="$emit('click', $event)">
    <use :xlink:href="`#icon-${name}`"></use>
  </svg>
</template>
<script lang="ts">
export default {
  name: 'ZeusIcon',
  props: ['name'],
}
</script>
<style lang="scss" scoped>
.zeus-icon {
  width: 1em;
  height: 1em;
}
</style>
